<div id="user_nav">
  <% if current_user %>
    Logged in as <%= current_user.email %>.
    <%= link_to "Log out", log_out_path %>
  <% end %>
</div>

<%= link_to "New car", new_car_path %>

<% current_user.cars.each do |car| %>
	<%= car %>
<% end %>

